* {
    margin: 0;
    padding: 0;
}

#top1 {
    width: 500px;
    margin-top: 20px;
}

#top1 li {
    display: inline-block;

    width: 50px;
    height: 20px;
    line-height: 20px;
    text-align: center;


}

main {
    width: 1000px;
    height: 900px;
    margin: 10px auto;

}

h3 {
    margin: 10px;
}

.relative {
    float: left;
    padding-left: 15px;
}

.relative img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: bottom;

}

.relative p {
    font-size: 0.8em;

}

.view-coll {
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 0.8em;
}

.view-coll img {
    width: 20px;
    height: 18px;
    vertical-align: bottom;
}

#products {
    height: 100%;
}

#products li {
    float: left;
    width: 33%;
    position: relative;
    margin: 20px auto;
    text-align: center;

}

.productsimg {
    width: 300px;
    height: 200px;
    border-radius: 10px;
}

#pages {
    clear: both;
    margin-left: 413px;
}

#pages li {
    float: left;
    text-align: center;
    margin: 5px;
}